//引入项目中的全部全局组件
import SvgIcon from '@/components/SvgIcon/index.vue'
const allGloablComponent:any = { SvgIcon }
export default{
    install(app:any){
        Object.keys(allGloablComponent).forEach( key => {
            app.component(key,allGloablComponent[key])
        })
    }
}